package com.gexiaobao.pigeon.ui.adapter

import androidx.appcompat.widget.AppCompatImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gexiaobao.pigeon.R
import com.gexiaobao.pigeon.app.util.ImageLoaderManager

/**
 * @Author      : hxw
 * @Date        : 2024/5/27 16:58
 * @Describe    :
 */
class ProofPictureAdapter(data: ArrayList<String>) : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_proof_picture, data) {
    override fun convert(holder: BaseViewHolder, item: String) {
        val ivImage = holder.getView<AppCompatImageView>(R.id.ivItemProofPicture)

        ImageLoaderManager.loadRoundImage(context, item, ivImage, 8)
    }
}